package io;

import java.io.*;
import java.nio.charset.StandardCharsets;

public class BrdDemo {
    public static void main(String[] args) throws IOException {
        FileInputStream sis=new FileInputStream("dd.txt");
        InputStreamReader sos=new InputStreamReader(sis, StandardCharsets.UTF_8);
        BufferedReader ses=new BufferedReader(sos);
        String line;
        while((line=ses.readLine())!=null){
            System.out.println(line);
        }
        ses.close();
    }
}
